function auditFrequencyConfig() {
	
	var hideForm = isc.DynamicForm.create({
		width:0,height:0,autoDraw:false,
		fields:[
			{name:"datetime", type:"datetime"}
		]
	});
	
	// var _month = $GZNY.substring($GZNY.indexOf("-")+1,$GZNY.length);
	//20121016 modify by zhuchun
	var _month = $GZNY.substring($GZNY.indexOf("-")+1);

	//20121016 modify by zhuchun 
	// if(_month.length==1){
		// $GZNY = $GZNY.substring(0,4)+"-0"+_month;
	// }
//=====================================
	
	
	
	var backMainListBtn = isc.M3ImgButton.create({
		type:"back",size:32,action:function(){
			layout.removeMembers(layout.getMembers());
			layout.addMember(mainList);
		}
	});
	
	var mainList = isc.ListGrid.create({
		width:"100%",height:"100%",autoDraw:false,
		hoverWidth :300,
		alternateRecordStyles:true,
		// dataSource:"audit_QSELevelConfig",
		wrapCells: true,
		fixedRecordHeights: false,

		fields:[
			{name:"id", showIf:"false"},
			{name:"months",title:isc.i18nMessages.audit_Months,align:"right",width:"*"}, 
			{name:"stepNum",title:isc.i18nMessages.audit_AuditLevelNumber,align:"right",width:"*"}
		],
		initWidget:function(){
			this.Super("initWidget", arguments);
			var that = this;
			isc.DataSource.get("audit_dynamicLevelConfig").fetchData({gzny:$GZNY},function(dsResponse,data){
				that.setData(data);
			},{operationId:"SP_LayeredAudit_FrequencyView"});
		},
		recordDoubleClick:function (viewer, record, recordNum, field, fieldNum, value, rawValue){
			hideForm.setValue("datetime",record.months+"-01");
			// alert(hideForm.getValue("datetime"));
			layout.removeMembers(layout.getMembers());
			layout.addMember(backMainListBtn);
			isc.DataSource.get("audit_dynamicLevelConfig").fetchData({months:record.months},function(dsResponse,data){
				for(var i = 0;i<data.length;i++){
					layout.addMember(new auditFrequencyStep(data[i].months,data[i].step,data[i].stepName,hideForm.getValue("datetime")).layout);
				}
				
			})
		}
		
	});
	
	var firstLeftWnd = isc.Window.create({
		width:"100%", height:"100%",
		title:isc.i18nMessages.audit_AnnualAuditChecklist,
		showResizeBar: true,
		items:[mainList]
	});


	var layout = isc.VLayout.create({
		width:"100%",
		height:2000,
		autoDraw:false,
		members:[firstLeftWnd]
	});
	
	this.layout = layout;
	

}
